package com.cloudpark.service;

import com.cloudpark.model.entity.CardOrder;
import com.cloudpark.model.entity.CardOrderTemp;
import com.cloudpark.model.entity.ParkOrder;
import com.cloudpark.model.entity.ParkOrderTemp;

public interface OrderService {

	void saveParkOrder(ParkOrder order);
	
	void saveParkOrderTemp(ParkOrderTemp orderTemp);

	Long syncOrderFromTemp(String orderNo, String payTime);

	ParkOrder queryParkOrderById(Long orderId);
	
	ParkOrder queryParkOrderByOrderNo(String orderNo);

	ParkOrderTemp queryParkOrderTempByOrderNo(String orderNo);

	CardOrder queryCardOrderByOrderNo(String orderNo);
	
	CardOrderTemp queryCardOrderTempByOrderNo(String orderNo);

	void saveCardOrderTemp(CardOrderTemp cardOrderTemp);

	CardOrder queryCardOrderById(Long orderId);

}
